/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package util.sort;

import util.sort.sortInterFace.compareInterFace;

/**
 *
 * @author Administrator
 */
public class sortTest implements compareInterFace{
    private int a=0;

    public int getA() {
        return a;
    }

    public void setA(int a) {
        this.a = a;
    }

    public boolean compare(compareInterFace comparer) {
        sortTest sort=(sortTest)comparer;
        if(this.a>sort.getA()){
            return true;
        }else{
            return false;
        }
    }
}
